<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f" %>
<%@ taglib uri="/mytag" prefix="yjd" %>
<body>
<div class="wrap J_check_wrap">
    <div class="search_type cc mb10">
        <a href="${requestScope.FPWEB.rootPath }/user/growing/group/edit${requestScope.FPWEB.urlStuff}" class="btn">
            <span class="add"></span>创建群组
        </a>
    </div>
    <div class="table_list">
        <table width="100%">
            <thead>
            <tr>
                <td width="60">id</td>
                <td>群组名称</td>
                <td>规则名称</td>
                <td>更新时间</td>
                <td>操作</td>
            </tr>
            </thead>
            <tbody id="J_word_list">
            <c:forEach items="${pager.pagerModel.dataList }" var="item">
                <tr>
                    <td>${item.group_id}</td>
                    <td>${item.name }</td>
                    <td>${item.rule_name }</td>
                    <td><yjd:jstl_date value="${item.update_time}" parttern="yyyy-MM-dd HH:mm:ss"/></td>
                    <td>
                        <li>
                            <a class="btn btn_green" href="${requestScope.FPWEB.rootPath }/user/growing/group/users${requestScope.FPWEB.urlStuff}?group_id=${item.group_id}">用户列表</a>
                            <a class="btn btn_orange" href="${requestScope.FPWEB.rootPath }/user/growing/group/edit${requestScope.FPWEB.urlStuff}?group_id=${item.group_id}">编辑</a>
                            <a class="btn btn_submit J_ajax_del" data-msg="确定删除？" href="${requestScope.FPWEB.rootPath }/user/growing/group/delete${requestScope.FPWEB.urlStuff}?group_id=${item.group_id}">删除</a>
                        </li>
                    </td>
                </tr>
            </c:forEach>
            </tbody>
        </table>
    </div>
    <!-- 分页 -->
    <div id="J_page_wrap">
        <%@ include file="../../public/pager/pager.pagination.jsp" %>
    </div>
</div>
</body>
